<?php
/* @var $this SiteController */

$this->pageTitle=Yii::app()->name;

$this->breadcrumbs=array(
	'Home',
);
?>

<?php 

$this->widget('ext.nivoslider.CNivoSlider', array(
	'htmlOptions'=>array('style'=>'width: 950px; height: 340px; background-size: 100% !important;'),
    'images'=>array( //@array images with images arrays.
        array('src'=>Yii::app()->request->baseUrl.'/images/slider/all/01.jpg', 'caption'=>'Caption 1', 'linkOptions'=>'', 'imageOptions'=>array('style'=>'width: 100%;')), //only display image.
        array('src'=>Yii::app()->request->baseUrl.'/images/slider/all/02.jpg', 'caption'=>'Caption 2', 'linkOptions'=>'', 'imageOptions'=>array('style'=>'width: 100%;')), //display image and nivo slider caption.
        array('src'=>Yii::app()->request->baseUrl.'/images/slider/all/03.jpg', 'url'=>array(''), 'caption'=>'Caption 3', 'linkOptions'=>'', 'imageOptions'=>array('style'=>'width: 100%;')), //display image with link.
        array('src'=>Yii::app()->request->baseUrl.'/images/slider/all/04.png', 'url'=>array(''), 'caption'=>'Caption 4', 'linkOptions'=>'', 'imageOptions'=>array('style'=>'width: 100%; !important')), //display image with nivo slider caption and link reference.
        ),
        
    )
);
?>